package com.shaozj.auth.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "租户列表视图")
@Data
public class LoginTenantVO {

    @Schema(description = "租户开关")
    private Boolean tenantEnable;

    @Schema(description = "租户列表")
    private List<TenantVO> list;

    @Schema(description = "租户视图")
    @Data
    class TenantVO {

        @Schema(description = "租户编码")
        private String tenantId;

        @Schema(description = "企业名称")
        private String companyName;

        @Schema(description = "域名")
        private String domain;
    }

}
